package ee.maoinvest.backend.model.data;

import java.io.Serializable;
import java.sql.Date;

public class User implements Serializable
{
	/**
	 * 
	 */
	private static final long serialVersionUID = 5856445648041900889L;
	
	private int userID; 			// SMALLSERIAL,
	private String username; 		// d_nameIsRequired,
	private String password; 		// VARCHAR(100),
	private boolean isActive;  		//BOOLEAN DEFAULT false,
	private boolean isWrittenOff; 	// BOOLEAN DEFAULT false,
	private Date dateOfWriteOff; 	// d_dateIsNotRequired,
	
	
	
	public int getUserID() 
	{
		return userID;
	}
	
	public void setUserID(int userID) 
	{
		this.userID = userID;
	}
	
	public String getUsername() 
	{
		return username;
	}
	
	public void setUsername(String username) 
	{
		this.username = username;
	}
	
	public String getPassword() 
	{
		return password;
	}
	
	public void setPassword(String password) 
	{
		this.password = password;
	}
	
	public boolean getIsActive() 
	{
		return isActive;
	}
	
	public void setIsActive(boolean isActive)
	{
		this.isActive = isActive;
	}
	
	public boolean getIsWrittenOff() 
	{
		return isWrittenOff;
	}
	
	public void setIsWrittenOff(boolean isWrittenOff) 
	{
		this.isWrittenOff = isWrittenOff;
	}
	
	public Date getDateOfWriteOff() 
	{
		return dateOfWriteOff;
	}
	
	public void setDateOfWriteOff(Date dateOfWriteOff) 
	{
		this.dateOfWriteOff = dateOfWriteOff;
	}
}
